You are here: FAQ > Documaker Standard Edition FAQ > Docupresentment Issues > How do I use DSIQSET_INTIME and DSIQSET_OUTTIME?

How do I use DSIQSET_INTIME and DSIQSET_OUTTIME?

The INTIME and OUTTIME fields are used by the queuing code. If the client does not set the values, they are set by the queuing code to the value of the C function time() — the number of seconds since midnight January 1, 1970, coordinated universal time.

Keep in mind if you try to use this to determine queue latency, the time is set by the client and by the server, if you are running on different PCs, you get different time values based on the local time on each PC. Also keep in mind that the time is measured in seconds, so you cannot get a better than 1 second resolution.

For the queue latency, the best approach is to use the Log file report (available in version 1.6 and greater) of total transaction time and the attachment variable TOTALTIMESPENT which includes the time in the queues as well as time on the server.